<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<style>
.btn {
	width: auto;
	display: inline-block;
	outline: none;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	font: 14px/100% Arial, Helvetica, sans-serif;
	padding: .5em 2em .55em;
	text-shadow: 0 1px 1px rgba(0, 0, 0, .3);
	-webkit-border-radius: .5em;
	-moz-border-radius: .5em;
	border-radius: .5em;
	-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
	-moz-box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
	box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
	color: #fef4e9;
	border: solid 1px rgb(97, 160, 168);
	background: rgb(97, 160, 168);
	margin-top: 10px;
}
</style>
<%
	int[] testList = {1, 2, 3, 4};
%>
<script type="text/javascript">
	
</script>
</head>
<body>

	<div id="div_1"></div>
	<label>登录测试： </label>
	<button class="btn" onclick="login1()">管理员登录</button>
	<button class="btn" onclick="login2()">总院级登录</button>
	<button class="btn" onclick="login3()">分院级登录</button>
	<button class="btn" onclick="login4()">科室级登录</button>
	<button class="btn" onclick="login5()">员工级登录</button>
	<button class="btn" onclick="logout()">登出</button>
	<label> </label>
	<br />
	<br />

	<label> 获取门诊治疗项目报表： </label>
	<button class="btn" onclick="getClinicTreatmentReport()">获取门诊总报表</button>
	<label> </label>
	<button class="btn" onclick="getClinicSelfCostDetail()">获取本院支出报表</button>
	<label> </label>
	<button class="btn" onclick="getClinicOtherCostDetail()">获取分院支出报表</button>
	<label> </label>
	<button class="btn" onclick="getClinicTreatmentDetail()">获取治疗项目开单报表</button>
	<label> </label>
	<br />
	<br />
	
	<label> 获取门诊费用项目报表： </label>
	<button class="btn" onclick="getClinicFundReport()">获取费用项目总报表</button>
	<label> </label>
	<button class="btn" onclick="getClinicFundDetail()">获取费用项目细节报表</button>
	<label> </label>
	<br />
	<br />
	
	<label> 获取科室治疗项目报表： </label>
	<button class="btn" onclick="getDepartmentTreatmentReport()">获取科室总报表</button>
	<label> </label>
	<button class="btn" onclick="getDepartmentSelfCostDetail()">获取本科室支出报表</button>
	<label> </label>
	<button class="btn" onclick="getDepartmentOtherCostDetail()">获取分科室支出报表</button>
	<label> </label>
	<button class="btn" onclick="getDepartmentTreatmentDetail()">获取科室治疗项目报表</button>
	<label> </label>
	<br />
	<br />

	<label> 添加单据： </label>
	<button class="btn" onclick="addTreatmentBill()">添加治疗单据</button>
	<label> </label>
	<button class="btn" onclick="addFundBill()">添加费用单据</button>
	<br />
	<br />

	<label> 获取治疗项目： </label>
	<button class="btn" onclick="getAllTreatmentProject()">获取所有治疗项目</button>
	<label> </label>
	<button class="btn" onclick="getAllFundProject()">获取所有费用项目</button>
	<br />
	<br />

	<label> 项目表操作： </label>
	<button class="btn" onclick="createProject1()">添加费用项目</button>
	<label> </label>
	<button class="btn" onclick="createProject2()">添加治疗项目</button>
	<label> </label>
	<button class="btn" onclick="alterProject()">修改项目</button>
	<br />
	<br />

	<label> 用户操作： </label>
	<button class="btn" onclick="createEmployee()">添加员工</button>
	<label> </label>
	<button class="btn" onclick="createClient()">添加客户</button>
	<label> </label>
	<button class="btn" onclick="searchClient()">查询客户</button>
	<label> </label>
	<button class="btn" onclick="alterEmployee()">修改员工</button>
	<label> </label>
	<button class="btn" onclick="getClinicEmployee()">获取门诊在职员工</button>
	<label> </label>
	<button class="btn" onclick="getDepartmentEmployee()">获取科室在职员工</button>
	<label> </label>
	<br />
	<br />

	<label> 职位操作： </label>
	<button class="btn" onclick="createPosition()">添加职位</button>
	<label> </label>
	<button class="btn" onclick="getAllPosition()">获取所有职位</button>
	<label> </label>
	<button class="btn" onclick="alterPosition()">修改职位</button>
	<label> </label>
	<br />
	<br />

	<label> 治疗卡操作： </label>
	<button class="btn" onclick="createTreatInfo()">添加治疗信息</button>
	<label> </label>
	<button class="btn" onclick="getMedicalCardInfo()">获取客户治疗卡信息</button>
	<label> </label>
	<button class="btn" onclick="getClientTreatInfo()">获取客户治疗信息</button>
	<label> </label>
	<button class="btn" onclick="createMedicalRecord()">创建病例信息</button>
	<label> </label>
	<button class="btn" onclick="getClientMedicalRecord()">获取病例信息</button>
	<label> </label>
	<br />
	<br />

	<label> 门诊操作： </label>
	<button class="btn" onclick="getClinicAllDepartment()">获取门诊下的科室</button>
	<label> </label>
	<button class="btn" onclick="createClinic()">创建门诊</button>
	<label> </label>
	<button class="btn" onclick="alterClinic()">修改门诊</button>
	<label> </label>
	<button class="btn" onclick="getAllClinic()">获取所有门诊</button>
	<label> </label>
	<button class="btn" onclick="getClinicById()">获取指定门诊</button>
	<label> </label>
	<button class="btn" onclick="getClinicPrincipal()">获取门诊负责人候选人</button>
	<label> </label>
	<br />
	<br />

	<label> 科室操作： </label>
	<button class="btn" onclick="createDepartment()">创建科室</button>
	<label> </label>
	<button class="btn" onclick="alterDepartment()">修改科室</button>
	<label> </label>
	<button class="btn" onclick="getDepartmentPrincipal()">获取科室负责人候选人</button>
	<label> </label>
	<br />
	<br />
</body>
<script type="text/javascript" src="./lib/jquery.min.js"></script>
<script type="text/javascript" src="./resources/js/test.js"></script>
</html>